function drawChart(rs) { 
	 //data
	  var data = new google.visualization.DataTable();
	  data.addColumn('date', 'Date');
	  data.addColumn('number', 'Points Remaining');
	  data.addColumn('number', 'Stories Remaining');
	  data.addColumn('number', 'Bugs');
	  data.addColumn('number',"hAxis"); //(just for label

	  var startDate=new Date(rs.sprint.dateStart);
	  var endDate=new Date(rs.sprint.dateEnd);	
	 
	  var numOfDay=(endDate-startDate)/86400000;

	  	
	  for(var i=1; i<=numOfDay;i++){
			var tempDate=new Date(startDate.getTime()+i*86400000);
			data.addRow([tempDate, null, null, null, 0]);
	
	  }

	  var dateList=rs.dList;
	  var pointList=rs.pList;
	  var issueList=rs.iList;
	  var bugsList=rs.bList;

	  for(var i=0; i<dateList.length;i++){
		    var tempDate=new Date(startDate.getTime()+i*86400000);
			data.addRow([tempDate,pointList[i],issueList[i], bugsList[i], 0]);										
	  }	
	  
	  //options
     var options = {
   	 
        title: rs.sprint.sprintName+' Burndown Charts', //Sprint Name
        titleTextStyle: {color: 'black', fontName: 'Arial', fontSize: 14},
        curveType: "none",
        focusTarget: 'datum',
        pointSize: 4,
        axisTitlesPosition: 'out',
        backgroundColor: 'transparent',
        legend: {position: 'top', textStyle: {color: 'black', fontSize: 12}},
        hAxis:{
            
            title:'Date'
           
        },
        vAxes:{
            0:{
                title:'Points', 
                textStyle:{color: '#4682B4'},
                titleTextStyle: {color: '#4682B4'}, 
                logScale: false,
                minValue: 0
              
            },
	         1: {
	        	 title:'Stories/Bugs', 
                textStyle:{color: '#9ACD32'},
                titleTextStyle: {color: '#9ACD32'}, 
		         logScale: false,
		         minValue: 0
	         }
	         
        },
        
        series:{
 	       0:{targetAxisIndex:0, color: '#4682B4'},
 	       1:{targetAxisIndex:1, color: '#9ACD32'},
 	       2:{targetAxisIndex:1, color: 'red'},
 	       3:{targetAxisIndex:1, color: '#FFFFFF', visibleInLegend: false, lineWidth: 0, pointSize: 0}
 	     }
      };
     
     return [data,options];	
}